/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package semmatch;

/**
 *
 * @author Aliz
 */
public class Relation {
    private String name;
    private Concept domain;
    private Concept range;

    public Relation(String name, Concept domain, Concept range) {
        this.name = name;
        this.domain = domain;
        this.range = range;
    }

    public Concept getDomain() {
        return domain;
    }

    public void setDomain(Concept domain) {
        this.domain = domain;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Concept getRange() {
        return range;
    }

    public void setRange(Concept range) {
        this.range = range;
    }

}
